/*
 * @Author: your name
 * @Date: 2021-05-03 08:17:03
 * @LastEditTime: 2021-05-15 15:54:55
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \shopd:\HTML001\布局小技巧\霓虹灯时间\霓虹灯时间.js
 */
setInterval( function(){
    const time = new Date
    let hh = time.getHours()
    let mm = time.getMinutes()
    let ss = time.getSeconds()

    if( hh<10 ){
        hh = "0"+hh
    }
    if( mm<10 ){
        mm = "0"+mm
    }
    if( ss<10 ){
        ss = "0"+ss
    }
    let times = `${hh}:${mm}:${ss}`;
    const pp= document.getElementsByClassName("time")[0]
    // console.log(pp)
    pp.innerHTML = times
}, 1000);